package com.sweet.fourtimeoa.mapper;

import com.sweet.fourtimeoa.pojo.dto.AnnouncementDto;
import com.sweet.fourtimeoa.pojo.entity.Announcements;
import com.sweet.fourtimeoa.pojo.entity.Users;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NoticeMapper {

//    @Select("select * from announcements")
//    List<Announcements> s();

    List<AnnouncementDto> NoticeUser();

    boolean NoticeAdd(Announcements announcements);

    boolean NoticeUpdata(Announcements announcements);

    Announcements finUpdate(Integer id);

    boolean NoticeDelete(Integer id);
}
